package com.ysstech.kettle.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.ysstech.kettle.entity.JobRelation;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * <p>
 * 任务关联关系表 Mapper 接口
 * </p>
 *
 * @author lishuangliang
 * @since 2022-10-23
 */
@Component
public interface JobRelationMapper extends BaseMapper<JobRelation> {


    /**
     * 查询依赖关系信息
     *
     * @param wrapper
     * @return
     */
    public List<JobRelation> queryJobRelation(@Param(Constants.WRAPPER) QueryWrapper<JobRelation> wrapper);
}
